home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #4 / K-CD-4-2002.ISO / Empire Earth / EEDemo.exe / Disk1 / Random Map Scripts / Tournament Islands.rmv < prev    next >
Encoding:
Text File  |  2001-09-27  |  6.9 KB  |  201 lines

  1. ////////////////////////////////////////////////////////////////////
  2. //
  3. // Tournament Islands.rmv
  4. //
  5. // Input file for the small islands map type.
  6. //
  7. // Copyright (c) 1998, Stainless Steel Studios, Inc. All rights reserved.
  8. // PROPRIETARY and CONFIDENTIAL.
  9. //
  10. // $Author: Scott Marison $
  11. // $Date: 7/24/01 3:29p $
  12. // $Revision: 5 $
  13. //  Revision: 25 Changed Initial step from 64 to 32 in order to get more cliffs.
  14. //
  15. ////////////////////////////////////////////////////////////////////
  16.  
  17. ResourceSeperation    3
  18.  
  19. //////////////////////////////////////////////////////////////////////
  20. // Define the map generator we will use
  21. //////////////////////////////////////////////////////////////////////
  22.  
  23. UseMapGenerator        "Default"
  24. StringTableID        27005
  25.  
  26.  
  27. //////////////////////////////////////////////////////////////////////
  28. // Files we always include
  29. //////////////////////////////////////////////////////////////////////
  30.  
  31. #include "Common\Map Climate"
  32. #include "Common\Common Conditions"
  33. #include "Common\Common Terrain Painting"
  34. #include "Common\Tourney Common Initial Units"
  35. #include "Common\Common Forests"
  36.  
  37.  
  38. //////////////////////////////////////////////////////////////////////
  39. // initialize some defintions. it is possible that an included file 
  40. // might redefine these.
  41. //////////////////////////////////////////////////////////////////////
  42. #define        (kShallowsElevation, -1)
  43. #define        (kShallowsWidth, 4)
  44. #define        (kMaxShallowConnectionsPerPlayer, 1)
  45. #define        (kGenerateShallows, false)
  46.  
  47.  
  48. //////////////////////////////////////////////////////////////////////
  49. // Files we include based upon map size - these files will define
  50. // everything we need to set the random map attributes for small island 
  51. // random maps.
  52. //////////////////////////////////////////////////////////////////////
  53. #if        IsTinyMap
  54. #include "Tournament Islands\Tournament Islands Tiny"
  55. #elif    IsSmallMap
  56. #include "Tournament Islands\Tournament Islands Small"
  57. #elif    IsMediumMap
  58. #include "Tournament Islands\Tournament Islands Medium"
  59. #elif    IsLargeMap
  60. #include "Tournament Islands\Tournament Islands Large"
  61. #elif    IsHugeMap
  62. #include "Tournament Islands\Tournament Islands Huge"
  63. #elif    IsGiganticMap
  64. #include "Tournament Islands\Tournament Islands Gigantic"
  65. #endif
  66.  
  67.  
  68. //////////////////////////////////////////////////////////////////////
  69. // Attributes we set
  70. //////////////////////////////////////////////////////////////////////
  71.  
  72. //////////////////////////////////////////////////////////////////////
  73. // map elevation attributes
  74. MinIntElevation                        kMinIntElevation
  75. MaxIntElevation                        kMaxIntElevation
  76. InitialElevation                    0
  77. FlatElevation                        0
  78. ElevationScale                        kElevationScale
  79. HeightMapChaos                        kHeightMapChaos
  80.  
  81.  
  82. //////////////////////////////////////////////////////////////////////
  83. // land/water attributes
  84. PercentLand                        kPercentLand
  85. LandElevationThreshold                    0
  86. WaterBorder                        kWaterBorder
  87. RiverWidth                        kRiverWidth
  88. TeamGrowth                        false
  89.  
  90.  
  91. //////////////////////////////////////////////////////////////////////
  92. // shallows attributes
  93. CoastalToDeeperWaterPercentage            kCoastToDeepWaterPercentage
  94. ShallowsElevation                kShallowsElevation
  95. ShallowsWidth                    kShallowsWidth
  96. MaxShallowConnectionsPerPlayer            kMaxShallowConnectionsPerPlayer
  97. GenerateShallows            kGenerateShallows
  98.  
  99.  
  100. //////////////////////////////////////////////////////////////////////
  101. // player attributes
  102. PlayerInnerRadius            kPlayerInnerRadius
  103. PlayerOuterRadius            kPlayerOuterRadius
  104. PlayerPercentFlat            kPlayerPercentFlat
  105. PlayerTreePercentage            kPlayerTreePercentage
  106. PlayerLandChaos                kPlayerLandChaos
  107. PlayerLandClumps            kPlayerLandClumps
  108. PlayerFlatChaos                kPlayerFlatChaos
  109. PlayerFlatClumps            kPlayerFlatClumps
  110. MaxAngleBetweenTeamMembers        kMaxAngleBetweenTeamMembers
  111.  
  112.  
  113. //////////////////////////////////////////////////////////////////////
  114. // general pushing attributes
  115. MinimumStartPositionToMapEdge        kMinimumStartPositionToMapEdge
  116. OuterPushFromMapCenter            kOuterPushFromMapCenter
  117. InnerPushFromMapCenter            kInnerPushFromMapCenter
  118.  
  119.  
  120. //////////////////////////////////////////////////////////////////////
  121. // general neutral attributes
  122. NeutralInnerRadius            kNeutralInnerRadius
  123. NeutralOuterRadius            kNeutralOuterRadius
  124.  
  125.  
  126. //////////////////////////////////////////////////////////////////////
  127. // inner neutral attributes
  128. NumInnerNeutrals            kNumInnerNeutrals
  129. InnerNeutralPercentLand            kInnerNeutralPercentLand
  130. InnerNeutralPercentFlat            kInnerNeutralPercentFlat
  131. InnerNeutralTreePercentage        kInnerNeutralTreePercentage
  132. InnerNeutralLandChaos            kInnerNeutralLandChaos
  133. InnerNeutralLandClumps            kInnerNeutralLandClumps
  134. InnerNeutralFlatChaos            kInnerNeutralFlatChaos
  135. InnerNeutralFlatClumps            kInnerNeutralFlatClumps
  136.  
  137.  
  138. //////////////////////////////////////////////////////////////////////
  139. // outer neutral attributes
  140. NumOuterNeutrals                kNumOuterNeutrals
  141. OuterNeutralPercentLand            kOuterNeutralPercentLand
  142. OuterNeutralPercentFlat            kOuterNeutralPercentFlat
  143. OuterNeutralTreePercentage        kOuterNeutralTreePercentage
  144. OuterNeutralLandChaos            kOuterNeutralLandChaos
  145. OuterNeutralLandClumps            kOuterNeutralLandClumps
  146. OuterNeutralFlatChaos            kOuterNeutralFlatChaos
  147. OuterNeutralFlatClumps            kOuterNeutralFlatClumps
  148.  
  149.  
  150. //////////////////////////////////////////////////////////////////////
  151. // resource attributes
  152. MaxResourceElevation            kMaxResourceElevation
  153. ResourceToEdgeDistance            kResourceToEdgeDistance    
  154. ResourceToWaterDistance            kResourceToWaterDistance    
  155.  
  156. ResourcePerPlayer            (Animal,        kAnimalPerPlayer)
  157. ResourcePerNeutralLand            (Animal,        kAnimalPerNeutral)
  158.                                             
  159. ResourcePerPlayer            (Berry,            kBerryPerPlayer)
  160. ResourcePerNeutralLand            (Berry,            kBerryPerNeutral)
  161.                                             
  162. ResourcePerPlayer            (Fish,            kFishPerPlayer)
  163. ResourcePerNeutralLand            (Fish,            kFishPerNeutral)
  164.                                             
  165. ResourcePerPlayer            (Gold,            kGoldPerPlayer)
  166. ResourcePerNeutralLand            (Gold,            kGoldPerNeutral)
  167.                                             
  168. ResourcePerPlayer            (Steel,            kSteelPerPlayer)
  169. ResourcePerNeutralLand            (Steel,            kSteelPerNeutral)
  170.                                             
  171. ResourcePerPlayer            (Stone,            kStonePerPlayer)
  172. ResourcePerNeutralLand            (Stone,            kStonePerNeutral)
  173.                                             
  174. ResourcePerPlayer            (Tree,            kTreePerPlayer)
  175. ResourcePerNeutralLand            (Tree,            kTreePerNeutral)
  176.                                             
  177.  
  178. //////////////////////////////////////////////////////////////////////
  179. // forest attributes
  180. ForestFreeRadius            kForestFreeRadius
  181. ForestsPerPlayer            kForestsPerPlayer
  182. ForestChaosLevel            kForestChaosLevel    
  183. MaxClumpsPerForest            kMaxClumpsPerForest
  184. MaximumTreesPerClump            10000
  185. MaxTreeLoopCount            200
  186.  
  187.  
  188. //////////////////////////////////////////////////////////////////////
  189. // misc. attributes
  190. ConvergentSampleSize            32
  191. ConvergentThreshold            1.0
  192. MaxIterationsClumpGrowth        200                
  193. MaxLoopCount                200
  194. MapCharacteristics            IslandMap
  195.  
  196.  
  197. //////////////////////////////////////////////////////////////////////
  198. // debug flags - for debugging use only
  199. FilterHeightMap                false
  200. TestingLandDistribution            false
  201.